pp108 : GetDocumentsInfo (Deprecated)

GetDocumentsInfo (Deprecated)

This Web service operation is used for fetching the details of documents. This Web service operation is part of the Document Store Web service interface in the Repository service group. If the folder name is provided as a parameter to the URL tag in the request, the details of all the documents within that folder are returned as the response. If the name of the document is provided as the parameter to the URL tag, the details of that specific document is returned as the response.

SOAP Request

<ns:GetDocumentsInfo>
    <!--type: anyURI-->
    <!-- URL can be a folder URL or a DocumentURL. For Folder URL, response contains collection of DocumentsInfo and for -->
    <!-- DocumentURL response contains DocumentInfo of single document -->
    <ns:URL>http://www.company.org/cum/sonoras</ns:URL>
</ns:GetDocumentsInfo>

Request Parameters

Parameter

Description

DocumentURL

The URL of the document within the repository.

SOAP Response

<ns:GetDocumentsInfoResponse>
    <DocumentInfo>
        <!--type: string-->
        <ns:DocumentName>document name</ns:DocumentName>
        <ns:Folder>http://www.corp.edu/quae/ventos</ns:Folder>
        <ns:Properties>
            <!--type: string-->
            <ns:MimeType>html</ns:MimeType>
            <!--type: dateTime-->
            <ns:LastModified>2009-05-16T18:12:28</ns:LastModified>
            <!--Zero or more repetitions:-->
            <ns:Property>
                <!--type: string-->
                <ns:Name>some string name</ns:Name>
                <!--type: string-->
                <ns:Value>some string value</ns:Value>
            </ns:Property>
        </ns:Properties>
    </DocumentInfo>
    <DocumentInfo>
        <!--type: string-->
        <ns:DocumentName>documentname</ns:DocumentName>
        <ns:Folder>http://www.corp.edu/quae/ventos</ns:Folder>
        <ns:Properties>
            <!--type: string-->
            <ns:MimeType>html</ns:MimeType>
            <!--type: dateTime-->
            <ns:LastModified>2009-05-16T18:12:28</ns:LastModified>
            <!--Zero or more repetitions:-->
            <ns:Property>
                <!--type: string-->
                <ns:Name>some string name</ns:Name>
                <!--type: string-->
                <ns:Value>some string value</ns:Value>
            </ns:Property>
        </ns:Properties>
    </DocumentInfo>
</ns:GetDocumentsInfoResponse>

Response Parameters

Parameter

Description

GetDocumentsInfoResponse

Contains the response.

  • If the URL of a document is passed in the request, the details of that document is returned within the DocumentInfo.
  • If the URL of the folder is passed in the request, the GetDocumentsInfoResponse element contains a collection of DocumentInfo and each DocumentInfo contains the details of a document within that folder.

DocumentName

The name of the document.

Folder

The folder location of the document.

Properties

The document can contain the following set of properties:

  • MimeType: The content of the document can be of any Mime type.
  • LastModified: The date when the document was last modified.

Related reference

CreateDocument
DeleteDocument
GetDocument
UpdateDocument

Related information

Document Store